func go/types.lookupFieldOrMethod
5 uses
go/types (current package)
builtins.go#L765: obj, index, indirect := lookupFieldOrMethod(base, false, check.pkg, sel, false)
call.go#L815: obj, index, indirect = lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, false)
call.go#L841: alt, _, _ := lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, true)
lookup.go#L89: return lookupFieldOrMethod(T, addressable, pkg, name, false)
lookup.go#L94: func lookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string, foldCase bool) (obj Object, index []int, indirect bool) {